package connection;


import org.hibernate.cfg.Configuration;
import org.hibernate.tool.hbm2ddl.SchemaExport;

public class GerarBanco 
{
	public static void main(String[] args) {
		
		Configuration cfg = new Configuration();
		cfg.configure();
		SchemaExport se = new SchemaExport(cfg);
		se.create(true, true);
	
		System.out.print("Bando gerando com sucesso!");
		
	}

}
